package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@TableName("sys_grade")
@NoArgsConstructor
@AllArgsConstructor
public class Grade {
    @TableId(value = "grade_id", type = IdType.AUTO)
    private long gradeId;
    private String gradeName;

    public long getGradeId() {
        return gradeId;
    }
}
